GtkStack: Improve focus handling
authorMatthias Clasen <mclasen@redhat.com>
Thu, 11 Dec 2014 03:32:45 +0000 (22:32 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 11 Dec 2014 03:32:45 +0000 (22:32 -0500)
commit123c6dc5586dd19d04055cc329e6507d602c869a
treeb0efd9c5360bc0fa5d954c4b1a9ec4b82f1a84b1
parent5dd6ad0057a38b6257d40903ec5a3e26f1068f11
GtkStack: Improve focus handling

Add notebook-like focus handling: Keep track of the last focused
descendent of each page, and focus it again when switching back
to the page. If there is no last focused child, we move the focus
into the page as if the user had hit Tab.
gtk/gtkstack.c